//
//  MJHLTView.m
//  PhoneNumber_20
//
//  Created by dllo on 15/11/21.
//  Copyright © 2015年 mjh. All rights reserved.
//

#import "MJHLTView.h"

@implementation MJHLTView


-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}
- (void)createView{
    self.myLabel = [[UILabel alloc]initWithFrame:CGRectMake(50, 0, 60, 40)];
    [self addSubview:self.myLabel];
    
    self.myTextField = [[UITextField alloc]initWithFrame:CGRectMake(130, 0, self.frame.size.width - 135, 40)];
    self.myTextField.layer.borderWidth = 1;
    self.myTextField.layer.cornerRadius = 10;
    
    [self addSubview:self.myTextField];
}



@end
